Ext.define('cfWeb.view.templateManage.TemplateManageView', {
    extend: 'Ext.container.Container',
    alias: 'widget.templateManageView',
    overflowY: 'auto',
    overflowX: 'hidden',
    initComponent: function() {
        this.items = [{
            xtype: 'collapsibleBlock',
            title: '系统模板',
            searchable: true,
            items: [{
                xtype: 'lbuttonIconListView',
                addText: cfWebLang.Util.New,
                buttonMenu: [
                    [
                        {
                            ico: 'eye',
                            name: '查看',
                            act: 'detail'
                        }, {
                            ico: 'pencil3',
                            name: cfWebLang.Util.Edit,
                            act: 'edit'
                        }, {
                            ico: 'cross',
                            name: cfWebLang.Util.Delete,
                            act: 'delete'
                        }]
                ],
                store: Ext.create('cfWeb.store.appManage.AppTemplateStore')
            }]
        }];
        this.callParent(arguments);
    }
});
